package com.pureut.quality.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description 检验项目实体类
 * @Param
 * @Date 23-02-01
 * @Author hl
 **/
@Data
@Accessors(chain = true)
@TableName("quality_inspection_item")
public class QualityInspection {

    @TableId(type = IdType.AUTO)
    private Long itemId;

    private String itemCode;

    private String itemName;

    private int itemRank;

    private int materialType;

    private int itemControlMode;

    private String itemUpperLimit;

    private String itemLowerLimit;

    private String itemUnit;

    private int itemSampleNumber;

    private String itemDetectionMode;

    private String itemCheckContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private long deptId;

    private int isAverage;

}
